package com.seaboxdata.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.seaboxdata.dao.RealTimeBusCashDao;
import com.seaboxdata.entity.RealTimeBusCash;
import com.seaboxdata.service.RealTimeBusCashService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Date;


@Service("realTimeBusCashService")
public class RealTimeBusCashServiceImpl extends ServiceImpl<RealTimeBusCashDao, RealTimeBusCash> implements RealTimeBusCashService {
    @Autowired
    private RealTimeBusCashDao realTimeBusCashDao;
    @Override
    public void delete(Date date) {
        realTimeBusCashDao.deleteAgedData(date);
    }
}
